All Questions
534 questions
0votes
0answers
23views
Connections not kept alive with ServerAliveInterval passed from SSH
After openssh 9.2, it is recommended to use ChannelTimeout and UnusedConnectionTimeout that provide granular idle session/connection timeout and behaviour of ClientAliveCountMax=0 parameter was ...
2votes
1answer
150views
Redirect multiple Bash code files to SSH with Escaping (same SSH session)
Need to redirect 3 bash code files (possibly more in the future) to SSH, escaping them (within the same SSH session) to execute them on remote host. Perfectly fine to list bash code files manually. ...
2votes
0answers
61views
tmux disconnects when disconnecting from ssh in WSL
I have a windows server running WSL, such that when I connect via SSH (openssh) i'm automatically logged into wsl (which I've set up from ssh configs in windows). In WSL I tried using tmux but after ...
0votes
2answers
82views
ssh agent forwarding - what's going on under the hood?
When I ask Google how ssh agent forwarding works it gives me lots of links to SEO optimized rubbish explaining how to provision ssh-agent. That is NOT what I am asking. I currently have an issue where ...
0votes
0answers
48views
SSH: including hostname in username
Having a need to include hostname in username, attempted to use %h - but it apparently is not supported. Manpage also does not list any token supported in User. Specifically, for target hosts in some....
0votes
0answers
967views
SSH failing with "ssh_rsa_verify: cannot handle type rsa-sha2-256"
I have an old Server (Centos 4 - yes it will be upgraded but not yet!) and a new Backup machine (Rocky 9.5). I previously had rsync from the server to a previous incarnation of the backup machine (...
0votes
2answers
96views
Why does connection work despite specifying for it a hmac-sha1-etm MAC that is not configured on server side?
I've seen other topics regarding similar issue and while configuration seems to work fine with specified MACs, SSH connection which uses an unspecified MAC still works while I would expect it to not. ...
0votes
1answer
48views
SSH Match EXEC seemingly has no effect
At the moment, I have two remotes on my git repos, one pointing to git when I am at home, and one pointing to git-ext when I am away. It want to simplify this. The below ssh config works with both git ...
3votes
2answers
323views
SSH client does not send public key to SSH server [closed]
I can't connect to my Ubuntu 22.04 server via SSH from exactly one host. I can connect to that server from other hosts with no problems. But, when I try to connect from that host with: ssh -p 5435 -i ~...
0votes
0answers
81views
Trying to SSH into Ubuntu VPS from powershell, keep recieving public key error
I read through some other threads of similar issues but none of the solutions worked (haven't tried overwriting the public key as I don't know if that will lock me out or cause other issues, if this ...
0votes
1answer
364views
"Connection refused lost connection" error while using scp command
I tried to transfer a file from an HPC system to a remote CentOS system using the following command line: scp /ANKAN/data/abc.pdf [email protected]:/data/ANKAN But I am getting the following ...
0votes
1answer
66views
I am still required to enter both passphrase for the key and server password when using SSH key authentification
I am trying to setup remote access from my new laptop (client) to my old laptop (server). The old one runs on Linux Mint 21.2, the new one on Ubuntu 23.10.1. I created a pair of SSH keys on the client,...
0votes
1answer
2kviews
SSH Unable to negotiate: no matching host key type found
I have an issue where older clients aren't able to connect to current (v8.x) versions of openssh server. I'm familiar with adding ssh-rsa,ssh-dss to the list of available key types but that doesn't ...
0votes
1answer
110views
How to use the scp command on two different servers without a password prompt?
I am trying to transfer files from one server to another using the scp command without having to enter a password. To this end I generated key files and copied them to each server's .ssh folder; but ...
0votes
1answer
484views
Unable to SSH Login using kerberos
Setup I have some basic KDC setup at kerberos.domain.intranet (This is in my own Intranet DNS) I have another machine at xux.domain.intranet (This being the target machine to which SSH) I setup the ...